<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>会员列表-WeAdmin Frame型后台管理系统-WeAdmin 1.0</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<link rel="stylesheet" href="../../static/css/font.css">
		<link rel="stylesheet" href="../../static/css/weadmin.css">
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
	      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
	      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
	</head>

	<body>
		<div class="weadmin-nav">
			<span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">用户管理</a>
        <a>
          <cite>用户列表</cite></a>
      </span>
			<a class="layui-btn layui-btn-sm" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
				<i class="layui-icon" style="line-height:30px">&#x1002;</i></a>
		</div>
		<div id="testText">
			<!-- zheli是文字 -->
		</div>
		<div class="weadmin-body">
			<div class="layui-row">
				<form class="layui-form layui-col-md12 we-search">
					用户搜索：
					<div class="layui-inline">
						<input class="layui-input" placeholder="开始日" name="start" id="start">
					</div>
					<div class="layui-inline">
						<input class="layui-input" placeholder="截止日" name="end" id="end">
					</div>
					<div class="layui-inline">
						<input type="text" name="username" placeholder="请输入用户名" autocomplete="off" class="layui-input">
					</div>
					<button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
				</form>
			</div>
			<div class="weadmin-block">
				<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>
				<button class="layui-btn" onclick="WeAdminShow('添加用户','./add.html',600,400)"><i class="layui-icon"></i>添加</button>
				<span class="fr" style="line-height:40px">共有数据：88 条</span>
			</div>
			<table class="layui-table" id="memberList" lay-data="{height: 'full-260', cellMinWidth: 80, page: true, even: true, url:'WebUserList.Lq'}">
				<thead>
					<tr>
						<th lay-data="{type:'checkbox'}">用户名</th>
						<!-- <th lay-data="{field:'Id', width:100, sort: true}">ID</th> -->
						<th lay-data="{field:'UserName', width:150}">用户名</th>
						<th lay-data="{field:'Password', width:150}">密码</th>
						<th lay-data="{field:'CreateTime', width:170, sort: true, templet:'<div>{{TimeFormat(d.CreateTime)}}</div>'}">创建时间</th>
						<!-- <th lay-data="{field:'UpdateTime', width:170, sort: true, templet:'<div>{{TimeFormat(d.UpdateTime)}}</div>'}">更新时间</th> -->
						<th lay-data="{field:'Memo', minWidth: 100}">备注</th>
						<th lay-data="{width:130, templet:'#Operate'}">操作</th>
					</tr>
				</thead>		
			</table>
			</div>
		</div>

		<script src="../../lib/layui/layui.js" charset="utf-8"></script>
		<script src="../../static/js/eleDel.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../static/js/date-format.js" type="text/javascript" charset="utf-8"></script>
		<script>
			layui.use(['laydate','jquery','admin','table'], function() {
				var laydate = layui.laydate,
					$ = layui.jquery,
					admin = layui.admin,
					table = layui.table;
				});

			function TimeFormat(d) {
				var date = new Date(d);
				return date.Format("yyyy-MM-dd hh:mm:ss");
			}

		</script>
		<script type="text/html" id="Operate">
			<a title="编辑" href="javascript:;" onclick="WeAdminEdit('编辑','./edit.html', this, 600, 400)">
				<i class="layui-icon">&#xe642;</i>
			</a>
			<!-- <a title="修改密码" href="javascript:;" onclick="WeAdminShow('修改密码','./password.html',600,400)">
				<i class="layui-icon">&#xe631;</i>
			</a> -->
			<a title="删除" href="javascript:;" onclick="member_del(this, '')">
				<i class="layui-icon">&#xe640;</i>
			</a>
		</script>
	</body>

</html>